<template>
    <div class="header">
        <div class="title">DICT项目管理系统领导工作台</div>
        <el-select class="select-box" v-model="value" placeholder="请选择" @change="changeOrg">
            <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
            </el-option>
        </el-select>
    </div>
</template>
<script>
export default {
    data() {
        return {
            options: [{
                value: '1001',
                label: '黑龙江省'
            }, {
                value: '1002',
                label: '哈尔滨市‌'
            }, {
                value: '1003',
                label: '齐齐哈尔市'
            }, {
                value: '1004',
                label: '牡丹江市'
            }, {
                value: '1005',
                label: '佳木斯市'
            }, {
                value: '1006',
                label: '大庆市'
            }, {
                value: '1007',
                label: '伊春市‌'
            }, {
                value: '1008',
                label: '鸡西市‌'
            }, {
                value: '1009',
                label: '鹤岗市‌'
            }, {
                value: '1010',
                label: '双鸭山市'
            }, {
                value: '1011',
                label: '‌七台河市‌'
            }, {
                value: '1012',
                label: '绥化市‌'
            }, {
                value: '1013',
                label: '黑河市‌'
            }, {
                value: '1014',
                label: '大兴安岭'
            }],
            value: '1001'
        }
    },
    methods:{
        changeOrg(val){
            this.$emit('changeOrg',val)
        }
    }
}
</script>
<style lang="less" scoped>
.header {
    width: 100%;
    height: 64px;
    background: #0b82ff;
    color: #fff;
    position: relative;
}

.title {
    font-size: 24px;
    line-height: 64px;
    margin-left: 30px;
}

.select-box {
    position: absolute;
    left: 380px;
    top: 14px;
    width: 130px;
}
</style>
<style>
.el-input__inner {
    border: 1px solid #8ac3ff !important;
    color: #fff !important;
    background-color: transparent !important;
    font-size: 16px;
}
.el-select .el-input .el-input__icon {
    color: #ffffff;
}
</style>